package com.fowo.api.sys.mapper;

import com.fowo.api.sys.entity.SysRoleData2Field;
import com.fowo.api.sys.model.RoleFieldItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统角色字段权限信息表 Mapper
 * @author yl_ls
 */
@Mapper
public interface SysRoleData2FieldMapper {
    List<SysRoleData2Field> selectList();

    List<RoleFieldItem> selectItemsByRoleId(@Param("roleId") Long roleId);
}
